package com.ruoyi.web.model;

import lombok.Data;

/**
 * @author tianl
 * @date 2024/12/25
 * @description:
 */
@Data
public class RuleModel {
    private Boolean required = true;
    private String trigger = "submit";
    private String message;

    public RuleModel(String message) {
        this.message = message + "不能为空";
    }
}
